package com.xxx.system.mapper;


import com.xxx.system.domain.Permission;
import com.xxx.system.query.PermissionQuery;

import java.util.List;

public interface PermissionMapper {
    //新增
    void addPermission(Permission permission);
    //修改
    void updatePermission(Permission permission);
    //删除
    void deteleById(Long id);
    //查询单个
    Permission findOne(Long id);
    //查询所有
    List<Permission> findAll();

    List<Permission> queryPage(PermissionQuery permissionQuery);

    void deletePermissionByIds(Long[] ids);

    Permission selectBySn(String permissionSn);
}
